package com.example.administrator.wallet.view.activity;

import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.blankj.utilcode.util.ActivityUtils;
import com.example.administrator.wallet.R;
import com.example.administrator.wallet.base.BaseActivity;
import com.example.administrator.wallet.view.fragment.mine.MineFragment;

import butterknife.Bind;
import butterknife.OnClick;

public class PromptActivity extends BaseActivity {


    @Bind(R.id.finish_img)
    ImageButton finishImg;
    @Bind(R.id.view_title)
    TextView viewTitle;
    @Bind(R.id.recovery)
    TextView recovery;
    @Bind(R.id.submit)
    Button submit;
    @Bind(R.id.activity_prompt)
    LinearLayout activityPrompt;

    @Override
    public void init() {
        setStatuColor();
        viewTitle.setText(R.string.tips);
    }

    @Override
    public int getLayoutResource() {
        return R.layout.activity_prompt;
    }


    @OnClick({R.id.recovery, R.id.submit})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.recovery:
                ActivityUtils.startActivity(this,RecoveryActivity.class);

                break;
            case R.id.submit:
                ActivityUtils.startActivity(this, FirstPswActivity.class);

                break;
        }
    }
}
